//---------------------------------------------------------------------------

#ifndef CIISUpdatePSH
#define CIISUpdatePSH


#include "USBCANInterface.h"

//---------------------------------------------------------------------------


class TCIISUpdatePS : public TObject
{
private:
	TUSBCANInterface *CAN;
	int CANAdr;
	int PSType;
	double AOut;
	double PSVOut, PSIOut;
	bool PSOutputOn;
	bool PSRemote;
	int PSMode;
	int UPSState;
	bool FUpdatePSReady;
public:
			 __fastcall TCIISUpdatePS( TUSBCANInterface * SetCAN,
																int SetCANAdr,
																int SetPSType,
																double SetAOut,
																double SetPSVOut,
																double SetPSIOut,
																bool SetPSOutputOn,
																bool SetPSRemote,
																int SetPSMode
															);
			 __fastcall ~TCIISUpdatePS();
	void __fastcall OnTimerEvent();

__published:

				__property bool UpdatePSReady  = { read=FUpdatePSReady };

};

#endif
